define(['./style', './geo'], function(style, geo) {
  var option = {
    backgroundColor: '#1a246a',
    title: {
      left: 'center',
      textStyle: {
        color: style.title.textStyle.color,
        fontSize: style.title.textStyle.fontSize
      }
    },
    geo: geo,
    tooltip: {
      trigger: 'item'
    },
    legend: {
      show: false,
      orient: 'vertical',
      left: style.legendPos.left,
      top: style.legendPos.top,
      data: ['图例'],
      textStyle: {
        fontSize: style.legend.textStyle.fontSize,
        color: style.legend.textStyle.color,
        fontWeight: 'bold',
        opacity: style.notSupportOpacity
      },
      selectedMode: 'single'
    },
    series: [{
      name: name,
      type: 'effectScatter',
      coordinateSystem: 'geo',
      label: {
        normal: {
          show: true,
          formatter: '{b}',
          position: 'right',
          textStyle: {
            color: '#0facdb',
            fontSize: 12,
            opacity: 1
          }
        }
      },
      symbolSize: function(val) {
        return Math.log(val[2]) * 5;
      },
      showEffectOn: 'render',
      hoverAnimation: true,
      symbol: 'circle',
      itemStyle: {
        normal: {
          color: '#0cabf3',
          opacity: 1
        }
      },
      data: [/*{ 'name':'哈尔滨','value':['127.9688','45.368','173'] },
        { 'name':'杭州','value':['119.5313','29.8773','114'] },
        { 'name':'太原','value':['112.3352','37.9413','177'] },
        { 'name':'呼和浩特','value':['111.4124','40.4901','23'] },
        { 'name':'上海','value':['121.4648','31.2891','34'] },
        { 'name':'南昌','value':['116.0046','28.6633','123'] },
    { 'name':'西安','value':['109.1162','34.2004','134'] }*/]
    }]
  }
  return option
})